import request from '@/utils/request'

// 员工列表
export function sysUser(params) {
  return request({
    url: '/sys/user',
    params
  })
}

// 新增员工
export function sysUserPost(data) {
  return request({
    url: '/sys/user',
    method: 'POST',
    data
  })
}

// 删除员工
export function sysUserDel(id) {
  return request({
    url: '/sys/user/' + id,
    method: 'DELETE'
  })
}
